Ravi Vishwakarma is a dedicated Software Developer with a passion for crafting efficient and innovative solutions. With a keen eye for detail and years of experience, he excels in developing robust software systems that meet client needs. His expertise spans across multiple programming languages and technologies, making him a valuable asset in any software development project.
Ravi Vishwakarma
27-Mar-20261. What is DDL (Data Definition Language)?
DDL commands are used to define and manage the structure of the database (schema). These commands deal with tables, indexes, and database objects.
Common DDL Commands:
Example:
Key Point:
DDL commands automatically commit changes (cannot rollback easily).
2. What is DML (Data Manipulation Language)?
Answer:
DML commands are used to manipulate data inside tables.
Common DML Commands:
Example:
Key Point:
3. What is DCL (Data Control Language)?
DCL commands are used to control access and permissions in the database.
Common DCL Commands:
Example:
Key Point:
Used for security and authorization
Quick Difference Table
Interview Tip
If asked in interview, answer like this:
“DDL is used to define database structure, DML is used to manipulate data, and DCL is used to control access and permissions.”